import request from '@/utils/request'
import store from '@/store'

/**
 * 查询在线用户
 * @param {*} params 查询条件
 */
export function getOnlieUsers(params) {
  if (!params.pageSize) {
    params.pageSize = store.state.beneform4j.pageSize
  }
  if (!params.page) {
    params.page = 1
  }
  return request({
    url: '/system/online/users/mock',
    method: 'get',
    params
  })
}
